package com.py.credit.ai.res;

public class IdCardResult extends OrcResult {

	private String address;

	private String number;

	private String birthday;

	private String name;

	private String sex;

	private String nation;

	private String expiration;

	public IdCardResult(String address, String number, String birthday, String name, String sex, String nation,
			String expiration) {
		super();
		this.address = address;
		this.number = number;
		this.birthday = birthday;
		this.name = name;
		this.sex = sex;
		this.nation = nation;
		this.expiration = expiration;
	}

	public static Builder builder() {
		return new Builder();
	}

	public static class Builder {

		public String imageStatus;

		public String expiration;

		private String address;

		private String number;

		private String birthday;

		private String name;

		private String sex;

		private String nation;

		public Builder address(String address) {
			this.address = address;
			return this;
		}

		public Builder number(String number) {
			this.number = number;
			return this;
		}

		public Builder birthday(String birthday) {
			this.birthday = birthday;
			return this;
		}

		public Builder name(String name) {
			this.name = name;
			return this;
		}

		public Builder sex(String sex) {
			this.sex = sex;
			return this;
		}

		public Builder expiration(String expiration) {
			this.expiration = expiration;
			return this;
		}

		public Builder imageStatus(String imageStatus) {
			this.imageStatus = imageStatus;
			return this;
		}

		public Builder nation(String nation) {
			this.nation = nation;
			return this;
		}

		public IdCardResult build() {
			return new IdCardResult(address, number, birthday, name, sex, nation, expiration);
		}

	}

	public String getAddress() {
		return address;
	}

	public String getNumber() {
		return number;
	}

	public String getBirthday() {
		return birthday;
	}

	public String getName() {
		return name;
	}

	public String getSex() {
		return sex;
	}

	public String getNation() {
		return nation;
	}

	public String getExpiration() {
		return expiration;
	}

	public void setExpiration(String expiration) {
		this.expiration = expiration;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

}
